import axios from 'axios'
let Host = `/api`

//获取所有的表信息
export const table = (params) => axios({
        method: 'GET',
        url: Host + '/table/getTables',
        params: params
    })
    //获取表字段
export const tableColumnInfo = (params) => axios({
        method: 'GET',
        url: Host + '/table/getTableColumns',
        params: params
    })
    //获取所有规则
export const getRules = (params) => axios({
    method: 'GET',
    url: Host + '/table/getRules',
    params: params
})
export const getColumnintegrity = (params) => axios({
    method: 'GET',
    url: Host + '/table/getColumnintegrity',
    params: params
})